#!/bin/sh

DIR=`pwd`

echo Setting environment...

if [ -r ./envrc ]; then
    source envrc
fi

CLASSPATH=

PATH=$JAVA_HOME/bin:$PATH
PATH=$M2_HOME/bin:$PATH
PATH=$CATALINA_HOME/bin:$PATH

export JAVA_HOME M2_HOME CATALINA_HOME CATALINA_BASE PATH

echo
echo JAVA_HOME=$JAVA_HOME
echo M2_HOME=$M2_HOME
echo CATALINA_HOME=$CATALINA_HOME
echo CATALINA_BASE=$CATALINA_BASE

